package com.appspot.codelab.docs.client.commands;

/**
 * A command for specifying project details.
 */
public class SystemSetProjectDetailsCommand extends Command {

  /**
   * The command's unique id.
   */
  public final static int serialUid = 202;
	
  protected String projectName;
  
  /**
   * Constructs a command for specifying project details.
   * 
   * @param projectName the project name.
   */
  public SystemSetProjectDetailsCommand(String projectName) {
	super("Set project details.");
	this.projectName = projectName;
  }

  /**
   * Retrieves the command's unique id.
   * 
   * @return the command's unique id.
   */
  @Override
  public int getCommandId() {
    return serialUid;
  }

  /**
   * Retrieves the project name.
   * 
   * @return the project name.
   */
  public String getProjectName() {
    return projectName;
  }

  /**
   * Sets the project name.
   * 
   * @param projectName the project name.
   */
  public void setProjectName(String projectName) {
    this.projectName = projectName;
  }
  
}
